module model.category;

/** 
 * 分类Model
 */
struct Category
{
    int id;
    string title;
    string visible;
    int sort;
    string createTime;
    string updateTime;
}

/** 
 * 分类Dto For Create
 */
struct CategoryDtoForCreate
{
    string title;
    string visible = "Y";
    int sort = 0;
    string createTime;
    string updateTime;
}

/** 
 * 分类Dto For Update
 */
struct CategoryDtoForUpdate
{
    int id;
    string title;
    string visible;
    int sort;
    string updateTime;
}
